module.exports = (result) => {
    if (result.error_code != 0) throw new Error(result.msg);
    return result.result;
};
